javascript eliminar items repetidos

93

javascript eliminar items repetidos -

var arr = [1,2,3,4,1,2,3,1,2,3]

var uniqueArr = [...new Set(arr)]

console.log(uniqueArr)

Comments

Submit
0 Comments